package com.gitee.ice1938.module.admin.app.manage.fun;

import java.util.Date;

public class UpdateResult {
	private Integer versionId;
	private String appMd5;
	// 新版本
	private int versionCode;
	// 新版本
	private String versionName;
	// 新版apk下载页面页面地址
	private String apkUrl;
	// apk下载地址
	private String apkFileUrl;
	// 更新提示结束
	private String versionDesc;
	// 更新标记
	private boolean updateFlag;
	// 目标 大小
	private String appSizeFormat;
	private int appSize;

	// 强制 更新
	private boolean force;

	private Long timestamp = new Date().getTime();

	public String getApkUrl() {
		return apkUrl;
	}

	public void setApkUrl(String apkUrl) {
		this.apkUrl = apkUrl;
	}

	public String getApkFileUrl() {
		return apkFileUrl;
	}

	public void setApkFileUrl(String apkFileUrl) {
		this.apkFileUrl = apkFileUrl;
	}

	public Long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Long timestamp) {
		this.timestamp = timestamp;
	}

	public boolean getUpdateFlag() {
		return updateFlag;
	}

	public void setUpdateFlag(boolean updateFlag) {
		this.updateFlag = updateFlag;
	}

	public String getVersionDesc() {
		return versionDesc;
	}

	public void setVersionDesc(String versionDesc) {
		this.versionDesc = versionDesc;
	}

	public int getVersionCode() {
		return versionCode;
	}

	public void setVersionCode(int versionCode) {
		this.versionCode = versionCode;
	}

	public String getAppSizeFormat() {
		return appSizeFormat;
	}

	public void setAppSizeFormat(String appSizeFormat) {
		this.appSizeFormat = appSizeFormat;
	}

	public int getAppSize() {
		return appSize;
	}

	public void setAppSize(int appSize) {
		this.appSize = appSize;
	}

	public boolean getForce() {
		return force;
	}

	public void setForce(boolean force) {
		this.force = force;
	}

	public String getAppMd5() {
		return appMd5;
	}

	public void setAppMd5(String appMd5) {
		this.appMd5 = appMd5;
	}

	public Integer getVersionId() {
		return versionId;
	}

	public void setVersionId(Integer versionId) {
		this.versionId = versionId;
	}

	public String getVersionName() {
		return versionName;
	}

	public void setVersionName(String versionName) {
		this.versionName = versionName;
	}

}
